﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class DistributorSettingInfoConfig : EntityTypeConfiguration<DistributorSettingInfo>
    {
        public DistributorSettingInfoConfig()
        {
            ToTable("Himall_DistributorSetting");
            Property(item => item.PromoterRule).HasColumnType("varchar").HasMaxLength(2000);
            Property(item => item.SellerRule).HasColumnType("varchar").HasMaxLength(2000);
            Property(item => item.DisBanner).HasColumnType("varchar").HasMaxLength(2000);          
        }
    }
}
